package com.woniu.service;

import com.woniu.entity.*;

import java.util.List;
import java.util.Map;

/**
 * @description: 用于处理资金渠道请求的service接口
 * @author Dante
 * @date: 2022/9/20 19:27
 */
public interface IAssetChannelService {

    List<CapitalChannelEntity> findAllAssetChannel();

    List<CapitalChannelEntity> selectChannels(CapitalChannelExportVO data);

    List<CapitalChannelEntity> searchWithLimits(CapitalChannelSearchVO data);

    List<ProductionInfo> listCapitalProductions();

    Boolean addProductToChannel(Map<String, Object> data);

    List<ProductionInfo> getAllRelativeProducts(Integer channelId);

    Boolean deleteRelProduct(Integer cpmId);

    List<ProductionInfo> searchRelProduct(Map<String, Object> data);

    Boolean addAssetChannel(CapitalChannelEntity data);
}
